# -*- coding: utf-8 -*-
# @Time    : 2021/9/26 14:47
# @Author  : xiao

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from airtest_selenium.proxy import WebChrome

# #创建一个实例，代码运行到这里，会打开一个chrome浏览器
# driver = WebChrome()
# driver.implicitly_wait(20)

#打开浏览器
from basic.WebUIParent import WebUIParent
from basic.utils.asserts import asserts
from basic.utils.path import Path

# driver = WebChrome(Path.getProjectPath()+"res\chromedriver.exe")
# driver.implicitly_wait(20)
# #设置浏览器最大化
# driver.maximize_window()
from commen.webpage.policyPage import PolicyPage


class WebDomeCase(WebUIParent):


    @classmethod
    def test_bsIndex(self):
        '''办事首页页面校验'''

        PolicyPage.clickBtn()
        a=PolicyPage.getTabName()
        asserts.equal(a,"南宁高新技术产业开发区","测试")
